package com.hifar.test.equituit.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import com.hifar.plat.AopOption.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
 * 设备-项目-关闭表
 * </p>
 *
 * @author wangkepeng
 * @since 2024-12-18 14:14:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("HF_RES_EQUIP_UNIT")
@ApiModel(value = "HfResEquipUnit对象", description = "设备-项目-关闭表")
public class HfResEquipUnit extends BaseModel implements Serializable {


    /**
    * 设备ID
    */
    @Excel(name="设备ID",sort=1)
    @ApiModelProperty(value = "设备ID")
    @TableField("EQUIP_ID")
    @JSONField(name = "equipId")
    private String equipId;


    /**
    * 备注
    */
    @Excel(name="备注",sort=1)
    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    @JSONField(name = "remarks")
    private String remarks;


    /**
    * 创建时间
    */
    @Excel(name="创建时间",sort=1)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    @JSONField(name = "createTime")
    private Date createTime;


    /**
    * 项目ID
    */
    @Excel(name="项目ID",sort=1)
    @ApiModelProperty(value = "项目ID")
    @TableField("UNIT_ID")
    @JSONField(name = "unitId")
    private String unitId;


    /**
    * 更新用户名称
    */
    @Excel(name="更新用户名称",sort=1)
    @ApiModelProperty(value = "更新用户名称")
    @TableField(value = "UPDATE_USER_NAME", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateUserName")
    private String updateUserName;


    /**
    * 部门id
    */
    @Excel(name="部门id",sort=1)
    @ApiModelProperty(value = "部门id")
    @TableField("DEPT_ID")
    @JSONField(name = "deptId")
    private String deptId;


    /**
    * 租户ID
    */
    @Excel(name="租户ID",sort=1)
    @ApiModelProperty(value = "租户ID")
    @TableField(value = "TENANT_ID", fill = FieldFill.INSERT)
    @JSONField(name = "tenantId")
    private String tenantId;

}